package com.acme.task5;

public class TextModifier {
	public static void main(String[] args) {
		//TODO: check number of arguments:		
		String str = args[0];
		for (int i = 0; i < str.length(); i++) {
			char charAtIndex = str.charAt(i);
			if (!Character.isDigit(charAtIndex)){
				switch (charAtIndex) {
				case '+':
				case '-':
					System.out.print(charAtIndex);
				default:
					System.out.print(charAtIndex);
					break;
				}
			}
		}
	}
}
